#ifndef _ASSEMBLER_H_
#define _ASSEMBLER_H_

void add_reg(char *);	// input register's name, add register's id to STRUCT statement
void add_instr(char *);	// input instruction's name, add instruction's value to STRUCT statement
void add_letter(char *);// input letter, add letter's value to STRUCT statement
void add_hex(char *);	// input hexadecimal, add it to STRUCT statement
void add_dec(char *);	// input decimal, add it to STRUCT statement
void add_addr(char *);	// input string(which mush be label_table[].name), add label_table[].addr to STRUCT statement
void add_label(char *);	// store label's name and address to STRUCT label_table[]
void add_stmt(void);	// write STRUCT statement to output file
int atoih(char *);	// translate sting of hex formation to integer

#endif	/* _ASSEMBLER_H_*/
